package com.diamond.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Supporderdetail entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "supporderdetail", catalog = "diamond")
public class Supporderdetail implements java.io.Serializable {

	// Fields

	private Long suppOrdDetailId;
	private Long suppOrderMasterId;
	private String remark;
	private Integer amount;
	private String batch;
	private String name;
	private Double price;
	private String shape;
	private String fluor;
	private String HR;
	private String symmetry;
	private String lab;
	private String polish;
	private String finalCut;
	private String clarity;
	private String color;
	private Double weight;
	private String reportNo;
	private String supplierName;
	private String state;
	private String orderDate;

	// Constructors

	/** default constructor */
	public Supporderdetail() {
	}

	/** full constructor */
	public Supporderdetail(Long suppOrderMasterId, String remark,
			Integer amount, String batch, String name, Double price,
			String shape, String fluor, String HR, String symmetry, String lab,
			String polish, String finalCut, String clarity, String color,
			Double weight, String reportNo, String supplierName, String state,
			String orderDate) {
		this.suppOrderMasterId = suppOrderMasterId;
		this.remark = remark;
		this.amount = amount;
		this.batch = batch;
		this.name = name;
		this.price = price;
		this.shape = shape;
		this.fluor = fluor;
		this.HR = HR;
		this.symmetry = symmetry;
		this.lab = lab;
		this.polish = polish;
		this.finalCut = finalCut;
		this.clarity = clarity;
		this.color = color;
		this.weight = weight;
		this.reportNo = reportNo;
		this.supplierName = supplierName;
		this.state = state;
		this.orderDate = orderDate;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "suppOrdDetail_id", unique = true, nullable = false)
	public Long getSuppOrdDetailId() {
		return this.suppOrdDetailId;
	}

	public void setSuppOrdDetailId(Long suppOrdDetailId) {
		this.suppOrdDetailId = suppOrdDetailId;
	}

	@Column(name = "suppOrderMaster_id")
	public Long getSuppOrderMasterId() {
		return this.suppOrderMasterId;
	}

	public void setSuppOrderMasterId(Long suppOrderMasterId) {
		this.suppOrderMasterId = suppOrderMasterId;
	}

	@Column(name = "remark", length = 500)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "amount")
	public Integer getAmount() {
		return this.amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	@Column(name = "batch", length = 500)
	public String getBatch() {
		return this.batch;
	}

	public void setBatch(String batch) {
		this.batch = batch;
	}

	@Column(name = "name", length = 500)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "price", precision = 22, scale = 0)
	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	@Column(name = "shape", length = 500)
	public String getShape() {
		return this.shape;
	}

	public void setShape(String shape) {
		this.shape = shape;
	}

	@Column(name = "fluor", length = 500)
	public String getFluor() {
		return this.fluor;
	}

	public void setFluor(String fluor) {
		this.fluor = fluor;
	}

	@Column(name = "h_r", length = 500)
	public String getHR() {
		return this.HR;
	}

	public void setHR(String HR) {
		this.HR = HR;
	}

	@Column(name = "symmetry", length = 500)
	public String getSymmetry() {
		return this.symmetry;
	}

	public void setSymmetry(String symmetry) {
		this.symmetry = symmetry;
	}

	@Column(name = "lab", length = 500)
	public String getLab() {
		return this.lab;
	}

	public void setLab(String lab) {
		this.lab = lab;
	}

	@Column(name = "polish", length = 500)
	public String getPolish() {
		return this.polish;
	}

	public void setPolish(String polish) {
		this.polish = polish;
	}

	@Column(name = "final_cut", length = 500)
	public String getFinalCut() {
		return this.finalCut;
	}

	public void setFinalCut(String finalCut) {
		this.finalCut = finalCut;
	}

	@Column(name = "clarity", length = 500)
	public String getClarity() {
		return this.clarity;
	}

	public void setClarity(String clarity) {
		this.clarity = clarity;
	}

	@Column(name = "color", length = 500)
	public String getColor() {
		return this.color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	@Column(name = "weight", precision = 22, scale = 0)
	public Double getWeight() {
		return this.weight;
	}

	public void setWeight(Double weight) {
		this.weight = weight;
	}

	@Column(name = "report_no", length = 500)
	public String getReportNo() {
		return this.reportNo;
	}

	public void setReportNo(String reportNo) {
		this.reportNo = reportNo;
	}

	@Column(name = "supplier_name", length = 500)
	public String getSupplierName() {
		return this.supplierName;
	}

	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}

	@Column(name = "state")
	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	@Column(name = "order_date", length = 500)
	public String getOrderDate() {
		return this.orderDate;
	}

	public void setOrderDate(String orderDate) {
		this.orderDate = orderDate;
	}

}